package tech.swh.ssm.entity;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Date;
import java.sql.Timestamp;

public class App{

	private BigInteger id;			//主键id
	private String softwareName;	//软件名称
	private String APKName;			//APK名称（唯一）
	private String supportROM;		//支持ROM
	private String interfaceLanguage;	//界面语言
	private BigDecimal softwareSize;	//软件大小（单位：M）
	private Date updateDate;			//更新日期
	private BigInteger devId;			//开发者id（来源于：dev_user表的开发者id）
	private String appInfo;				//应用简介
	private BigInteger status;			//状态（来源于：data_dictionary，1 待审核 2 审核通过 3 审核不通过 4 已上架 5 已下架）
	private Timestamp onSaleDate;		//上架时间
	private Timestamp offSaleDate;		//下架时间
	private BigInteger flatformId;		//所属平台（来源于：data_dictionary，1 手机 2 平板 3 通用）
	private BigInteger categoryLevel3;	//所属三级分类（来源于：data_dictionary）
	private BigInteger downloads;		//下载量（单位：次）
	private BigInteger createdBy;		//创建者（来源于dev_user开发者信息表的用户id）
	private Timestamp creationDate;		//创建时间
	private BigInteger modifyBy;		//更新者（来源于dev_user开发者信息表的用户id）
	private Timestamp modifyDate;		//最新更新时间
	private BigInteger categoryLevel1;	//所属一级分类（来源于：data_dictionary）
	private BigInteger categoryLevel2;	//所属二级分类（来源于：data_dictionary）
	private String logoPicPath;			//LOGO图片url路径
	private String logoLocPath;			//LOGO图片的服务器存储路径
	private BigInteger versionId;		//最新的版本id
	
	private String versionInfo;
	


	@Override
	public String toString() {
		return "App [id=" + id + ", softwareName=" + softwareName + ", APKName=" + APKName + ", supportROM="
				+ supportROM + ", interfaceLanguage=" + interfaceLanguage + ", softwareSize=" + softwareSize
				+ ", updateDate=" + updateDate + ", devId=" + devId + ", appInfo=" + appInfo + ", status=" + status
				+ ", onSaleDate=" + onSaleDate + ", offSaleDate=" + offSaleDate + ", flatformId=" + flatformId
				+ ", categoryLevel3=" + categoryLevel3 + ", downloads=" + downloads + ", createdBy=" + createdBy
				+ ", creationDate=" + creationDate + ", modifyBy=" + modifyBy + ", modifyDate=" + modifyDate
				+ ", categoryLevel1=" + categoryLevel1 + ", categoryLevel2=" + categoryLevel2 + ", logoPicPath="
				+ logoPicPath + ", logoLocPath=" + logoLocPath + ", versionId=" + versionId + ", versionInfo="
				+ versionInfo + "]";
	}
	public App() {
		super();
	}
	public App(BigInteger id, String softwareName, String aPKName, String supportROM, String interfaceLanguage,
			BigDecimal softwareSize, Date updateDate, BigInteger devId, String appInfo, BigInteger status,
			Timestamp onSaleDate, Timestamp offSaleDate, BigInteger flatformId, BigInteger categoryLevel3,
			BigInteger downloads, BigInteger createdBy, Timestamp creationDate, BigInteger modifyBy,
			Timestamp modifyDate, BigInteger categoryLevel1, BigInteger categoryLevel2, String logoPicPath,
			String logoLocPath, BigInteger versionId, String versionInfo) {
		super();
		this.id = id;
		this.softwareName = softwareName;
		APKName = aPKName;
		this.supportROM = supportROM;
		this.interfaceLanguage = interfaceLanguage;
		this.softwareSize = softwareSize;
		this.updateDate = updateDate;
		this.devId = devId;
		this.appInfo = appInfo;
		this.status = status;
		this.onSaleDate = onSaleDate;
		this.offSaleDate = offSaleDate;
		this.flatformId = flatformId;
		this.categoryLevel3 = categoryLevel3;
		this.downloads = downloads;
		this.createdBy = createdBy;
		this.creationDate = creationDate;
		this.modifyBy = modifyBy;
		this.modifyDate = modifyDate;
		this.categoryLevel1 = categoryLevel1;
		this.categoryLevel2 = categoryLevel2;
		this.logoPicPath = logoPicPath;
		this.logoLocPath = logoLocPath;
		this.versionId = versionId;
		this.versionInfo = versionInfo;
	}
	public String getVersionInfo() {
		return versionInfo;
	}
	public void setVersionInfo(String versionInfo) {
		this.versionInfo = versionInfo;
	}
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public String getSoftwareName() {
		return softwareName;
	}
	public void setSoftwareName(String softwareName) {
		this.softwareName = softwareName;
	}
	public String getAPKName() {
		return APKName;
	}
	public void setAPKName(String aPKName) {
		APKName = aPKName;
	}
	public String getSupportROM() {
		return supportROM;
	}
	public void setSupportROM(String supportROM) {
		this.supportROM = supportROM;
	}
	public String getInterfaceLanguage() {
		return interfaceLanguage;
	}
	public void setInterfaceLanguage(String interfaceLanguage) {
		this.interfaceLanguage = interfaceLanguage;
	}
	public BigDecimal getSoftwareSize() {
		return softwareSize;
	}
	public void setSoftwareSize(BigDecimal softwareSize) {
		this.softwareSize = softwareSize;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public BigInteger getDevId() {
		return devId;
	}
	public void setDevId(BigInteger devId) {
		this.devId = devId;
	}
	public String getAppInfo() {
		return appInfo;
	}
	public void setAppInfo(String appInfo) {
		this.appInfo = appInfo;
	}
	public BigInteger getStatus() {
		return status;
	}
	public void setStatus(BigInteger status) {
		this.status = status;
	}
	public Timestamp getOnSaleDate() {
		return onSaleDate;
	}
	public void setOnSaleDate(Timestamp onSaleDate) {
		this.onSaleDate = onSaleDate;
	}
	public Timestamp getOffSaleDate() {
		return offSaleDate;
	}
	public void setOffSaleDate(Timestamp offSaleDate) {
		this.offSaleDate = offSaleDate;
	}
	public BigInteger getFlatformId() {
		return flatformId;
	}
	public void setFlatformId(BigInteger flatformId) {
		this.flatformId = flatformId;
	}
	public BigInteger getCategoryLevel3() {
		return categoryLevel3;
	}
	public void setCategoryLevel3(BigInteger categoryLevel3) {
		this.categoryLevel3 = categoryLevel3;
	}
	public BigInteger getDownloads() {
		return downloads;
	}
	public void setDownloads(BigInteger downloads) {
		this.downloads = downloads;
	}
	public BigInteger getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(BigInteger createdBy) {
		this.createdBy = createdBy;
	}
	public Timestamp getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Timestamp creationDate) {
		this.creationDate = creationDate;
	}
	public BigInteger getModifyBy() {
		return modifyBy;
	}
	public void setModifyBy(BigInteger modifyBy) {
		this.modifyBy = modifyBy;
	}
	public Timestamp getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}
	public BigInteger getCategoryLevel1() {
		return categoryLevel1;
	}
	public void setCategoryLevel1(BigInteger categoryLevel1) {
		this.categoryLevel1 = categoryLevel1;
	}
	public BigInteger getCategoryLevel2() {
		return categoryLevel2;
	}
	public void setCategoryLevel2(BigInteger categoryLevel2) {
		this.categoryLevel2 = categoryLevel2;
	}
	public String getLogoPicPath() {
		return logoPicPath;
	}
	public void setLogoPicPath(String logoPicPath) {
		this.logoPicPath = logoPicPath;
	}
	public String getLogoLocPath() {
		return logoLocPath;
	}
	public void setLogoLocPath(String logoLocPath) {
		this.logoLocPath = logoLocPath;
	}
	public BigInteger getVersionId() {
		return versionId;
	}
	public void setVersionId(BigInteger versionId) {
		this.versionId = versionId;
	}
	
	
	
}
